﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using myBoard.Framework.MVVM;

namespace myTwitter.BO
{
    public class DirectMessage : IMessageBase
    {
        public long SenderID { get; set; }
        public long RecipientID { get; set; }
        public string SenderScreenName { get; set; }
        public string RecipientScreenName { get; set; }
        public User Sender { get; set; }
        public User Recipient { get; set; }
        public User InReplyToUser
        {
            get
            {
                return Recipient;
            }
            set
            {
                Recipient = value;
            }
        }

        public override User User
        {
            get
            {
                return Sender;
            }
            set
            {
                Sender = value;
            }
        }
        
    }
}
